<?php

class indexController extends Controller {

    public function __construct() {
        parent::__construct();
    }

    public function index() {
        $db_tables = Model_TableOrder::getInstance();

        $data['tables'] = $db_tables->selectAvailableTable();
        $db_menu = Model_Menu::getInstance();
        $data['menu'] = $db_menu->selectAll();
        $this->view->render('index/index', $data);
    }

    public function help() {
        $data = array('test' => 'toto');
        $this->view->render('index/help', $data);
    }



}